package com.itheima.common;

public class BaseContext {
    public static ThreadLocal<Long> base=new ThreadLocal<>();
    public static void setId(Long id){
        base.set(id);
    }
    public static Long getId(){
        Long id = base.get();
        return id;
    }
}
